package com.ruoyi.common.enums;

public enum StudentExpiredTypeEnum {
    THREE_MONTHS(1, "三个月"),
    SIX_MONTHS(2, "半年"),
    ONE_YEAR(3, "一年"),
    TWO_YEARS(4, "两年");

    private final Integer expiredType;
    private final String description;

    /**
     * 构造方法
     * @param expiredType 期限类型
     * @param description 说明
     */
    StudentExpiredTypeEnum(Integer expiredType, String description) {
        this.expiredType = expiredType;
        this.description = description;
    }

    /**
     * 期限类型
     * @return
     */
    public Integer getExpiredType() {
        return expiredType;
    }

    /**
     * 说明
     * @return
     */
    public String getDescription() {
        return description;
    }
}
